class BaseModel<T>{
  T? data;
  int? errorCode;
  String? errorMessage;

  BaseModel.fromJson(dynamic json){
    data = json["data"];
    errorCode = json["errorCode"];
    errorMessage = json["errorMessage"];
  }
}
